package com.rc.saas.tenant.vo.order;

import java.math.BigDecimal;

public class SaasOrderInfoCountVo {

    private BigDecimal totalPower;//总电量

    private BigDecimal totalElecMoney;//基础电费

    private BigDecimal totalSeviceMoney;//服务费

    private BigDecimal totalMoney;//总金额

    private BigDecimal discountAmount;//优惠金额

    private BigDecimal payAmount;//实付金额

    private BigDecimal saasDiscountAmount;//saas优惠金额

    private BigDecimal saasPayAmount;//saas实付

    private Long countOrder;//订单数

    public BigDecimal getTotalPower() {
        if (totalPower == null) {
            return new BigDecimal(0);
        }
        return totalPower;
    }

    public void setTotalPower(BigDecimal totalPower) {
        this.totalPower = totalPower;
    }

    public BigDecimal getPayAmount() {
        if (payAmount == null) {
            return new BigDecimal(0);
        }
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public BigDecimal getTotalSeviceMoney() {
        if (totalSeviceMoney == null) {
            return new BigDecimal(0);
        }
        return totalSeviceMoney;
    }

    public void setTotalSeviceMoney(BigDecimal totalSeviceMoney) {
        this.totalSeviceMoney = totalSeviceMoney;
    }

    public BigDecimal getTotalMoney() {
        if (totalMoney == null) {
            return new BigDecimal(0);
        }
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }


    public BigDecimal getTotalElecMoney() {
        if (totalElecMoney == null) {
            return new BigDecimal(0);
        }
        return totalElecMoney;
    }

    public void setTotalElecMoney(BigDecimal totalElecMoney) {
        this.totalElecMoney = totalElecMoney;
    }

    public BigDecimal getDiscountAmount() {
        if (discountAmount == null) {
            return new BigDecimal(0);
        }
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

    public BigDecimal getSaasDiscountAmount() {
        if (saasDiscountAmount == null) {
            return new BigDecimal(0);
        }
        return saasDiscountAmount;
    }

    public void setSaasDiscountAmount(BigDecimal saasDiscountAmount) {
        this.saasDiscountAmount = saasDiscountAmount;
    }

    public BigDecimal getSaasPayAmount() {
        if (saasPayAmount == null) {
            return new BigDecimal(0);
        }
        return saasPayAmount;
    }

    public void setSaasPayAmount(BigDecimal saasPayAmount) {
        this.saasPayAmount = saasPayAmount;
    }

    public Long getCountOrder() {
        if (countOrder == null){
            return new Long(0);
        }
        return countOrder;
    }

    public void setCountOrder(Long countOrder) {
        this.countOrder = countOrder;
    }
}
